home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
Recent1
/
MS2LW.lha
/
MovieLight_eng
< prev
next >
Wrap
Text File
|
1997-02-20
|
2KB
|
125 lines
/* LW utiliza las escenas de MovieShop como sequencias. */
/* Al mismo tiempo, el render de LW es capturado por MovieShop. */
/* Este script genera las imagenes temporales en "Ram:t/" */
/* Cada escena de MovieShop puede consumir 1.3 MB de preciada RAM. */
/* Puedes cambiar el camino de estos ficheros temporales aqui. */
/* Edita este script y reemplaza "ram:t" por "dh1:temporal" (Por ej.) */
/* Se produciran cambios en las lineas 32, 59, 64, 73, 89, 111 y 113. */
SAY ' This script need that LightWave and MovieShop are now loaded'
SAY ' The scenes that you want use from LW, have to be as sequences and'
SAY ' found them in the scene window.'
SAY ''
SAY ''
SAY ' MovieShop and LightWave are running now?'' Y/N'
pull opt
if opt = N then exit
OPTIONS RESULTS
ADDRESS MOVIESHOP
EXPORTPICTYPE FIELDS
EXPORTMETHOD RAWJPEG
EXPORTEXTENSION '.'
GOTOSCENE NUMBER 0
do g = 1 to 999
TS = g
BLOCK MARK
BLOCK COPY
EXPORTBLOCK 'ram:t/MSTemp'g
GOTOSCENE NEXT
options failat 10
if (RC=10) then g = 999
end g
do f = 1 to 18
SAY ''
end f
SAY ' Checking scenes...'
SAY ' You have' TS 'MovieShop scenes.'
SAY ''
SAY ''
SAY ' Now, you've to load the sequences in LightWave.'
SAY ' When you has made it, back here and press ENTER.'
pull @
SAY ''
SAY ''
SAY ''
ADDRESS MOVIESHOP
NEWSCENE
IMPORTPICTYPE FRAMES
IMPORTFRAME 'ram:t/MSTemp1.'
EXPORTPICTYPE FRAMES
EXPORTEXTENSION '.%03ld'
ADDRESS COMMAND 'DELETE >nil: ram:t/MS#?'
ADDRESS 'LightWaveARexx.port'
SAY 'How many frames you want render?'
pull FR
say 'What is the first frame?'
pull SF
'SaveImages ram:t/VMTransfer.'
EF = SF + FR
EF = EF - 1
X = 0
do i = SF to EF
TG = EF - i
ADDRESS MOVIESHOP
GOTOSCENE NUMBER 0
do h = 1 to TS
GOTOFRAME NUMBER X
BLOCK MARK
BLOCK COPY
EXPORTBLOCK 'ram:t/MSTemp'h
GOTOSCENE NEXT
end h
X = X + 1
ADDRESS 'LightWaveARexx.port'
SAY 'FRAME RENDERIZED' i 'TO' time()',' TG 'FRAMES TO FINISH.'
'FIRSTFRAME' i
'LASTFRAME' i
'FRAMESTEP' 1
'Render 1'
c = right(i, 3, '0')
d = 'VMTRANSFER.'c
ADDRESS MOVIESHOP
GOTOSCENE NUMBER TS
GOTOFRAME LAST
SAY 'IMPORTING FRAME' i 'TO MOVIESHOP'
IMPORTFRAME 'ram:t/'d
ADDRESS COMMAND 'DELETE >nil: ram:t/#?'
end i
ADDRESS MOVIESHOP
GOTOSCENE NUMBER TS
GOTOFRAME LAST
DELETEACTIVEFRAME
Name = 'LWAnim'time()
RENAMESCENE Name
SAY 'TOTAL FRAMES =' FR '. PROCESS COMPLETE TO' time()